const http = uni.$u.http
//设备信息
export const getInfo = (data) => http.get('/api/device/info', data)
//下载ota文件
// /upload/package_16_ble_package.bin
export const download = (packageName, data) => {
	return http.download(`/upload/${packageName}`, data)
}